

#ifndef _SHELL_RESALLTASKS_MESSAGE_H_
#define _SHELL_RESALLTASKS_MESSAGE_H_

#include "Message.h"
#include "Beans.h"
//#include "TaskBean.h"
//#include <vector>
using namespace std;

class ResAllTasksMessage : public Message
{
	public:
	ResAllTasksMessage();
	~ResAllTasksMessage();
	void reset();
	ResAllTasksMessage* clone();
	static const int _ID;
	//所有任务
	vector<TaskBean*> allTasks;
	
	bool read_from(ByteBuf& buf);
    bool write_to(ByteBuf& buf);
    int getId();
};

#endif
